package com.csp.service;

import com.csp.dao.TUsersDao;
import com.csp.domain.TUsers;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Description
 * @Author 杨希栋
 * @Date 2017/6/12 14:30
 */
@Service
public class TUsersService {

    @Autowired
    private TUsersDao tUsersDao;

    public TUsers get(TUsers tUsers){
        return tUsersDao.get(tUsers);
    }

    public List<TUsers> findList(TUsers tUsers){
        return tUsersDao.findList(tUsers);
    }
}
